Skip to content

feat: update MCP schema to latest version and add method() to RpcMessage trait#106

Merged
hashemix merged 3 commits into
mainfrom
feat/update-mcp-schema-and-add-method
Mar 10, 2026
Merged

feat: update MCP schema to latest version and add method() to RpcMessage trait#106
hashemix merged 3 commits into
mainfrom
feat/update-mcp-schema-and-add-method

Conversation

@hashemix

Copy link
Copy Markdown
Member

trait

📌 Summary

Updates MCP schema to the latest specification (hash: e14831553a82c059d6e2fc866084b26e82ae791a) and adds convenience methods to access the method name from RPC messages.

✨ Changes Made

  • Regenerated MCP schema files from latest specification
  • Added Display implementation for RequestId type
  • Added method() method to RpcMessage trait
  • Implemented method() on ClientMessage, ServerMessage, ClientJsonrpcNotification, and ServerJsonrpcNotification

The method() addition enables convenient access to the RPC method name without pattern matching on message variants.

@hashemix hashemix changed the title feat: Update MCP schema to latest version and add method() to RpcMessage trait feat: update MCP schema to latest version and add method() to RpcMessage trait Mar 10, 2026
@hashemix hashemix merged commit 0e1f53a into main Mar 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant